package com.yunji.framework_template.orm.persistence.mapper;

import com.yunji.framework_template.common.web.Page;
import com.yunji.framework_template.orm.persistence.model.Game;
import java.util.List;

public interface GameMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Game record);

    int insertSelective(Game record);

    Game selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Game record);

    int updateByPrimaryKey(Game record);
    
    int updateTimesByPrimaryKey(Game record);

    List<Game> selectByCondition(Game record);

    List<Game> selectAll();

    List<Game> selectByPage(Page page);

    Integer count(Game record);

    int deleteByCondition(Game record);
}